[INFO] cloning repository https://github.com/SnoozeTime/twengine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SnoozeTime/twengine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnoozeTime%2Ftwengine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnoozeTime%2Ftwengine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 90121f6e6d6bf491ea816f8c949fc4db0ae31382
[INFO] checking SnoozeTime/twengine against master#cfbc6d4cf1acbac5c025acf8ed68929caa551df3 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnoozeTime%2Ftwengine" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/SnoozeTime/twengine on toolchain cfbc6d4cf1acbac5c025acf8ed68929caa551df3
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/SnoozeTime/twengine
[INFO] finished tweaking git repo https://github.com/SnoozeTime/twengine
[INFO] tweaked toml for git repo https://github.com/SnoozeTime/twengine written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/SnoozeTime/twengine already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn v0.15.23
[INFO] [stderr]   Downloaded sdl2-sys v0.32.5
[INFO] [stderr]   Downloaded sdl2 v0.32.1
[INFO] [stderr]   Downloaded glib v0.6.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bf09454e24fb9a702d3e09be87c8c7bd3f6062a6b9dad0707d124973d4824987
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "bf09454e24fb9a702d3e09be87c8c7bd3f6062a6b9dad0707d124973d4824987", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf09454e24fb9a702d3e09be87c8c7bd3f6062a6b9dad0707d124973d4824987", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf09454e24fb9a702d3e09be87c8c7bd3f6062a6b9dad0707d124973d4824987", kill_on_drop: false }`
[INFO] [stdout] bf09454e24fb9a702d3e09be87c8c7bd3f6062a6b9dad0707d124973d4824987
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3cf7fe024e371ea7d26d829b486878ab775706aacc6a127eaf26db15de587392
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3cf7fe024e371ea7d26d829b486878ab775706aacc6a127eaf26db15de587392", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.45
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking rand_core v0.3.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.24
[INFO] [stderr]    Compiling gio v0.5.1
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling gdk-pixbuf v0.5.0
[INFO] [stderr]    Compiling cfg-if v0.1.6
[INFO] [stderr]    Compiling serde v1.0.82
[INFO] [stderr]    Compiling gdk v0.9.0
[INFO] [stderr]    Compiling gtk v0.5.0
[INFO] [stderr]    Compiling glib-sys v0.7.0
[INFO] [stderr]    Compiling gobject-sys v0.7.0
[INFO] [stderr]    Compiling gio-sys v0.7.0
[INFO] [stderr]    Compiling gdk-pixbuf-sys v0.7.0
[INFO] [stderr]    Compiling pango-sys v0.7.0
[INFO] [stderr]    Compiling gdk-sys v0.7.0
[INFO] [stderr]    Compiling gtk-sys v0.7.0
[INFO] [stderr]    Compiling sdl2-sys v0.32.5
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking rand_xorshift v0.1.0
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]    Compiling cairo-sys-rs v0.7.0
[INFO] [stderr]    Compiling atk-sys v0.7.0
[INFO] [stderr]    Compiling cairo-rs v0.5.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking num-iter v0.1.37
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.0
[INFO] [stderr]    Compiling rand v0.6.1
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]    Compiling quote v0.6.10
[INFO] [stderr]    Compiling syn v0.15.23
[INFO] [stderr]     Checking glib v0.6.1
[INFO] [stderr]     Checking sdl2 v0.32.1
[INFO] [stderr]    Compiling serde_derive v1.0.82
[INFO] [stderr]     Checking pango v0.5.0
[INFO] [stderr]     Checking serde_json v1.0.33
[INFO] [stderr]     Checking sdl2anim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/context.rs:14:41
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new() -> Result<Context, Box<std::error::Error>> {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SWITCH_TO_ADD` should have an upper camel case name
[INFO] [stdout]   --> src/editor.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     SWITCH_TO_ADD,
[INFO] [stdout]    |     ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SwitchToAdd`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SWITCH_TO_SELECT` should have an upper camel case name
[INFO] [stdout]   --> src/editor.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     SWITCH_TO_SELECT,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SwitchToSelect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SWITCH_TO_STATIC` should have an upper camel case name
[INFO] [stdout]   --> src/editor.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     SWITCH_TO_STATIC,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SwitchToStatic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ADD_RECT` should have an upper camel case name
[INFO] [stdout]   --> src/editor.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     ADD_RECT,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to upper camel case: `AddRect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ADD_STATIC` should have an upper camel case name
[INFO] [stdout]   --> src/editor.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     ADD_STATIC,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `AddStatic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::env;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/context.rs:14:41
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new() -> Result<Context, Box<std::error::Error>> {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SWITCH_TO_ADD` should have an upper camel case name
[INFO] [stdout]   --> src/editor.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     SWITCH_TO_ADD,
[INFO] [stdout]    |     ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SwitchToAdd`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SWITCH_TO_SELECT` should have an upper camel case name
[INFO] [stdout]   --> src/editor.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     SWITCH_TO_SELECT,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SwitchToSelect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SWITCH_TO_STATIC` should have an upper camel case name
[INFO] [stdout]   --> src/editor.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     SWITCH_TO_STATIC,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SwitchToStatic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ADD_RECT` should have an upper camel case name
[INFO] [stdout]   --> src/editor.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     ADD_RECT,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to upper camel case: `AddRect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ADD_STATIC` should have an upper camel case name
[INFO] [stdout]   --> src/editor.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     ADD_STATIC,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `AddStatic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition
[INFO] [stdout]   --> src/math.rs:53:1
[INFO] [stdout]    |
[INFO] [stdout] 53 | / macro_rules! assert_eq_delta (
[INFO] [stdout] 54 | |     ($lhs:expr, $rhs:expr, $delta:expr) => {
[INFO] [stdout] 55 | |         let diff = $lhs - $rhs;
[INFO] [stdout] 56 | |         if diff.abs() > $delta {
[INFO] [stdout] ...  |
[INFO] [stdout] 59 | |     }
[INFO] [stdout] 60 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::env;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_buttons`
[INFO] [stdout]    --> src/editor.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let old_buttons = &self.prev_buttons - &buttons;
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_buttons`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `textures`
[INFO] [stdout]   --> src/game.rs:70:49
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn render(&self, context: &mut Context, textures: &TextureCache) {
[INFO] [stdout]    |                                                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_textures`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/physics.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 |         for (i, j) in to_resolve {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]   --> src/physics.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |         for (i, j) in to_resolve {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_buttons`
[INFO] [stdout]    --> src/editor.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let old_buttons = &self.prev_buttons - &buttons;
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_buttons`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `textures`
[INFO] [stdout]   --> src/game.rs:70:49
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn render(&self, context: &mut Context, textures: &TextureCache) {
[INFO] [stdout]    |                                                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_textures`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/physics.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 |         for (i, j) in to_resolve {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]   --> src/physics.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |         for (i, j) in to_resolve {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `video_subsystem`
[INFO] [stdout]  --> src/context.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     video_subsystem: VideoSubsystem,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `toLocal` should have a snake case name
[INFO] [stdout]    --> src/core.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub fn toLocal(&self, global_pos: Vector2d<i32>) -> Vector2d<i32> {
[INFO] [stdout]     |            ^^^^^^^ help: convert the identifier to snake case: `to_local`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `video_subsystem`
[INFO] [stdout]  --> src/context.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     video_subsystem: VideoSubsystem,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `toLocal` should have a snake case name
[INFO] [stdout]    --> src/core.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub fn toLocal(&self, global_pos: Vector2d<i32>) -> Vector2d<i32> {
[INFO] [stdout]     |            ^^^^^^^ help: convert the identifier to snake case: `to_local`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `Value`
[INFO] [stdout]  --> src/bin/serde.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde_json::{Value, Error};
[INFO] [stdout]   |                  ^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `Value`
[INFO] [stdout]  --> src/bin/serde.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde_json::{Value, Error};
[INFO] [stdout]   |                  ^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::WindowContext`
[INFO] [stdout]  --> src/bin/mouse.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sdl2::video::WindowContext;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/bin/mouse.rs:167:37
[INFO] [stdout]     |
[INFO] [stdout] 167 |     fn new() -> Result<Context, Box<std::error::Error>> {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]   --> src/bin/ttf.rs:89:24
[INFO] [stdout]    |
[INFO] [stdout] 89 |     let TextureQuery { width, height, .. } = texture.query();
[INFO] [stdout]    |                        ^^^^^ help: try ignoring the field: `width: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `height`
[INFO] [stdout]   --> src/bin/ttf.rs:89:31
[INFO] [stdout]    |
[INFO] [stdout] 89 |     let TextureQuery { width, height, .. } = texture.query();
[INFO] [stdout]    |                               ^^^^^^ help: try ignoring the field: `height: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `padding`
[INFO] [stdout]   --> src/bin/ttf.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let padding = 64;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_padding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::WindowContext`
[INFO] [stdout]  --> src/bin/mouse.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sdl2::video::WindowContext;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/bin/mouse.rs:167:37
[INFO] [stdout]     |
[INFO] [stdout] 167 |     fn new() -> Result<Context, Box<std::error::Error>> {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `get_centered_rect`
[INFO] [stdout]   --> src/bin/ttf.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn get_centered_rect(rect_width: u32, rect_height: u32, cons_width: u32, cons_height: u32) -> Rect {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scene`
[INFO] [stdout]    --> src/bin/mouse.rs:220:9
[INFO] [stdout]     |
[INFO] [stdout] 220 |     let mut scene = Scene::new();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scene`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_color`
[INFO] [stdout]    --> src/bin/mouse.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let mut current_color = Color::RGB(0, 0, 255);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/mouse.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |         for (i, c) in self.content.char_indices() {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_buttons`
[INFO] [stdout]    --> src/bin/mouse.rs:135:13
[INFO] [stdout]     |
[INFO] [stdout] 135 |         let old_buttons = &self.prev_buttons - &buttons;
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_buttons`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture_creator`
[INFO] [stdout]    --> src/bin/mouse.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout] 178 |         let texture_creator = canvas.texture_creator();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_creator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scene`
[INFO] [stdout]    --> src/bin/mouse.rs:220:9
[INFO] [stdout]     |
[INFO] [stdout] 220 |     let mut scene = Scene::new();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scene`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_color`
[INFO] [stdout]    --> src/bin/mouse.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let mut current_color = Color::RGB(0, 0, 255);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/mouse.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |         for (i, c) in self.content.char_indices() {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]   --> src/bin/ttf.rs:89:24
[INFO] [stdout]    |
[INFO] [stdout] 89 |     let TextureQuery { width, height, .. } = texture.query();
[INFO] [stdout]    |                        ^^^^^ help: try ignoring the field: `width: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `height`
[INFO] [stdout]   --> src/bin/ttf.rs:89:31
[INFO] [stdout]    |
[INFO] [stdout] 89 |     let TextureQuery { width, height, .. } = texture.query();
[INFO] [stdout]    |                               ^^^^^^ help: try ignoring the field: `height: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `padding`
[INFO] [stdout]   --> src/bin/ttf.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let padding = 64;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_padding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_buttons`
[INFO] [stdout]    --> src/bin/mouse.rs:135:13
[INFO] [stdout]     |
[INFO] [stdout] 135 |         let old_buttons = &self.prev_buttons - &buttons;
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_buttons`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture_creator`
[INFO] [stdout]    --> src/bin/mouse.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout] 178 |         let texture_creator = canvas.texture_creator();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_creator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/mouse.rs:213:9
[INFO] [stdout]     |
[INFO] [stdout] 213 |     let mut font = context.font_context.load_font(font_path, 24).unwrap();
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/mouse.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |     let mut textures = TextureCache::new(&texture_creator, font);
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/mouse.rs:220:9
[INFO] [stdout]     |
[INFO] [stdout] 220 |     let mut scene = Scene::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/mouse.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let mut current_color = Color::RGB(0, 0, 255);
[INFO] [stdout]     |         ----^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `running`
[INFO] [stdout]    --> src/bin/mouse.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     running: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `video_subsystem`
[INFO] [stdout]    --> src/bin/mouse.rs:160:5
[INFO] [stdout]     |
[INFO] [stdout] 160 |     video_subsystem: VideoSubsystem,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/bin/mouse.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         canvas.fill_rect(rect!(self.x, self.y, self.w, self.h));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/mouse.rs:213:9
[INFO] [stdout]     |
[INFO] [stdout] 213 |     let mut font = context.font_context.load_font(font_path, 24).unwrap();
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/mouse.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |     let mut textures = TextureCache::new(&texture_creator, font);
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/mouse.rs:220:9
[INFO] [stdout]     |
[INFO] [stdout] 220 |     let mut scene = Scene::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/mouse.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let mut current_color = Color::RGB(0, 0, 255);
[INFO] [stdout]     |         ----^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `running`
[INFO] [stdout]    --> src/bin/mouse.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     running: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `video_subsystem`
[INFO] [stdout]    --> src/bin/mouse.rs:160:5
[INFO] [stdout]     |
[INFO] [stdout] 160 |     video_subsystem: VideoSubsystem,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/bin/mouse.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         canvas.fill_rect(rect!(self.x, self.y, self.w, self.h));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `get_centered_rect`
[INFO] [stdout]   --> src/bin/ttf.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn get_centered_rect(rect_width: u32, rect_height: u32, cons_width: u32, cons_height: u32) -> Rect {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2m 03s
[INFO] running `Command { std: "docker" "inspect" "3cf7fe024e371ea7d26d829b486878ab775706aacc6a127eaf26db15de587392", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3cf7fe024e371ea7d26d829b486878ab775706aacc6a127eaf26db15de587392", kill_on_drop: false }`
[INFO] [stdout] 3cf7fe024e371ea7d26d829b486878ab775706aacc6a127eaf26db15de587392
